import { $get, $put } from '@/request/api';

export function fetchFrontendDetail() {
  return $get('/frontend/detail');
}
export function fetchUpdateFrontend(data) {
  return $put(`/frontend/update/${data.id}`, data);
}
